<template>
	<view class="orders" :class="list.length==0?'empty':''">
		<block v-if="list.length>0">
			<u-list @scrolltolower="scrolltolower">
				<u-list-item v-for="(item, index) in list" :key="index">
				
				</u-list-item>
			</u-list>
		</block>
		<block v-else>
			<NoData/>
		</block>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[]
			}
		},
		methods: {
			init(){
				
			},
			search(){
				
			},
			changeStatus(){
				
			}
		}
	}
</script>

<style scoped lang="less">
	.orders {
		display: flex;
		flex-direction: column;
		align-items: center;
		
		&.empty{
			height: 100%;
			justify-content: center;
		}
	}
</style>